package com.hzy.seataorder.order.dao;

import com.hzy.order.entities.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* @author hanzhengyu
* @description 针对表【order_tbl】的数据库操作Mapper
* @createDate 2022-03-08 23:04:53
*/
@Mapper
public interface OrderMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);

    int updateStatus(Order record);

    List<Order> list(Map<String, Object> param);

}
